getUnitUsers (Deprecated) |
This method returns the users assigned to a unit
![]() |
The use of this method is deprecated. Use GetAssignments and specify parameter UnitID. |
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <getUnitUsers xmlns="http://schemas.cordys.com/userassignment/UserAssignmentReader/1.0"> <WorkspaceID>[Workspace ID]</WorkspaceID> <assignmentRoot>[Assignment root ID]</assignmentRoot> <unitId>[Unit ID]</unitId> </getUnitUsers> </SOAP:Body> </SOAP:Envelope>
Request Parameters Description
Parameter |
Description |
Data Type |
Accepted Input Value |
---|---|---|---|
WorkspaceID |
String |
|
|
assignmentRoot |
String |
GUID |
|
unitId |
ID of the unit |
String |
Usually GUID |
SOAP Response
<getUnitUsersResponse xmlns="http://schemas.cordys.com/userassignment/UserAssignmentReader/1.0"> <getUnitUsers>[Users details]</getUnitUsers> </getUnitUsersResponse>
Response Parameters
Parameter |
Description |
---|---|
getUnitUsers |
String containing XML with details of users, see below |
<Users> <User> <Name>[User name, if available; else empty]</User> <Description>[User description, if available; else empty]</Description> <UserDN>[User DN]</UserDN> </User> <User> ... </User> ... </Users>